cmake_minimum_required(VERSION 3.20) # 或者更高版本


set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)

set(UTILS "utils")
set(CLIENT "endPointClient")
set(DEVICE "device")
set(CLOUDSERVER "server")

set(UTILS_INC "${CMAKE_CURRENT_SOURCE_DIR}/utils/include")


add_subdirectory(utils)
add_subdirectory(cloudServer)
add_subdirectory(device)
add_subdirectory(endPoint)
if(BUILD_TEST)
    add_definitions(-DBUILD_TEST)
    add_subdirectory(test)
endif()
